<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/9/4
 * Time: 18:50
 */
namespace app\api\validate;

class PaginParmter extends BaseValidate {

    protected $rule = [
        'page'=>'require|isPositveInteger',
        'limit'=>'require|isPositveInteger'
    ];

    protected $message = [
        'page'=>'分页参数必须为正整数',
        'limit'=>'分页参数必须为正整数'
    ];
}